Cleaning up build
authorJohn Goerzen <jgoerzen@complete.org>
Fri, 1 Jun 2007 07:01:19 +0000 (02:01 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Fri, 1 Jun 2007 07:01:19 +0000 (02:01 -0500)
debian/control
debian/rules

index 2267ac943c71f3c0fe33ce4d5ea5620a9064eb0e..7c56803d9c0e39e5fd90373314b8cc519730bb91 100644 (file)
@@ -2,7 +2,7 @@ Source: gpsbabel
 Section: utils
 Priority: optional
 Maintainer: John Goerzen <jgoerzen@complete.org>
-Build-Depends: debhelper (>= 4.0.0), libexpat1-dev, tetex-bin, tetex-base, libusb-dev, expat, libxml2-utils, xsltproc, libexpat1-dev, zlib1g-dev, docbook-xml, docbook-xsl
+Build-Depends: debhelper (>= 4.0.0), libexpat1-dev, tetex-bin, tetex-base, libusb-dev, expat, libxml2-utils, xsltproc, libexpat1-dev, zlib1g-dev, docbook-xml, docbook-xsl, fop
 Standards-Version: 3.6.0
 
 Package: gpsbabel
index 4339ebc30d36adfff162f32730b1b83f60ece51e..99b4577aa711f5aee41e660ce9bfdc342305ff58 100755 (executable)
@@ -26,6 +26,7 @@ configure-stamp:
        $(SHELL) ./configure --with-zlib=system --with-doc=debian/doctmp \
                --prefix=/usr
        # Add here commands to configure the package.
+       mkdir -p xmldoc/autogen
 
        touch configure-stamp
 
@@ -55,7 +56,11 @@ clean:
        # Add here commands to clean up after the build process.
        -$(MAKE) clean
        -cd doc && $(MAKE) clean
-       -rm -r debian/doctmp
+       -rm -rf debian/doctmp xmldoc/autogen/*
+       -rm -rf Makefile config.h config.log config.status debian/*.inc \
+               gpsbabel.fo tools/mkcapabilities win32/gpsbabel.rc \
+               xmldoc/formats/options/raymarine-location.xml xmldoc/makedoc \
+               zlib/empty
 
        dh_clean